package cl.whyem.springoxm.test.pojo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "EMPLEADO")
@XmlAccessorType(XmlAccessType.NONE)
public class Empleado extends Trabajador {

    @XmlElement(name = "ID")
    private int id;
    @XmlElement(name = "SALARY")
    private float salary;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public float getSalary() {
        return salary;
    }

    public void setSalary(float salary) {
        this.salary = salary;
    }
}
